home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
E.M.Computergraphic Phase 4
/
Phase 4 - Desktop Video Dreams (E. M. Computergraphic)(1996).iso
/
utilities
/
jacosub
/
rexx
/
begintime.jsrx
< prev
next >
Wrap
Text File
|
1996-01-02
|
533b
|
20 lines
/* JACOsub BEGINTIME command demonstration.
This command changes the begin time for playing a script.
BEGINTIME returns RESULT=0 if successful, or RESULT=1 if the time
string had a bad format, or 2 if there was a resolution conflict.
*/
if ~arg() then do ; say 'Need arguments H:MM:SS.FF and [counts/sec]' ; exit 1 ; end
parse arg starttime secunits .
options results
address 'JACOsub'
'BEGINTIME' starttime secunits
if result > 0 then
say 'error setting begin time'
else
say 'begin time set successfully'
exit result